package com.example.demo.customer;

public class Customer {
    private final Long id;
    private final String name;

    public Customer(long id,String name){
        this.id=id;
        this.name=name;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public Long getId(){return id;}
    public String getName(){return name;}
}
